package com.like.hospitalworld;

import org.xutils.view.annotation.Event;
import org.xutils.x;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.like.entity.M;

public class BaseActivity extends AppCompatActivity {

    protected M m;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        x.view().inject(this);
        m = new M(this);
    }

    @Event(R.id.back)
    private void backClick(View v) {
        finish();
    }
}
